import { UIBase } from "../framework/UIBase";
import SceneManager, { SceneType } from "../framework/SceneManager";
import { AudioMgr, AUDIO_CONFIG } from "../framework/AudioMgr";

const {ccclass, property} = cc._decorator;

@ccclass
export default class LoginView extends UIBase {

    @property(cc.Button)
    btnStart: cc.Button = null;

    onLoad () {
       
    }

    onFinished () {
       
    }

    btnStartClick () {
        AudioMgr.Instance.play_sound(AUDIO_CONFIG.Audio_Btn);
        SceneManager.Instance.loadScene(SceneType.Main);
    }
}
